package com.cetc.nsfx.mapper;

import java.util.List;
import java.util.Map;

import com.cetc.nsfx.entity.SysAssignPrivs;

/**
 * Created by Administrator on 2015/12/25 0025.
 */
public interface RoleMapper {
	
	public List<Map<String,Object>> getSwjgryList(String rootid,String nodeid);
	
	public List<Map<String,Object>> getStationList(Map<String,Object> param);
	
	public List<Map<String,Object>> getRoleMenulist(String loginName,String userName);
	
	public void delByUserRole(String principalName,String currentUser);
	
	public void saveAssignPrivs(List<SysAssignPrivs> privs);
	
	public List<Map<String,Object>> getUserRoleList(String loginName);
	
	public List<Map<String,Object>> getChildMenuList(Map<String,String> param);
	
	public List<Map<String,Object>> getUserStationList(Map<String,String> param);
	
	public List<Map<String,Object>> findByLoginNameAndInUse(String loginName);
	
	public void updateUserType(String userType,String userLoginName);
	
	public int getUserMenuByMenuCode(String menuCode,String loginName);
}
